package com.fs.book.mapper;

import com.fs.book.entity.CartItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CartMapper {
    void save(CartItem cartItem);
    List<CartItem> getByUserId();
    void delete();
    void deleteAll(Integer cartItemId);
}
